Skip to content

查询用户捐赠单详情

请求参数类型描述
openidstring用户在商户AppID下的唯一标识
out_trade_nostring商户系统内部订单号
php
$instance->v3->lovefeast->users->_openid_->orders->outTradeNo->_out_trade_no_->getAsync([
  'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
  'out_trade_no' => '1217752501201407033233368018',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/lovefeast/users/{openid}/orders/out-trade-no/{out_trade_no}')->getAsync([
  'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
  'out_trade_no' => '1217752501201407033233368018',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/lovefeast/users/{openid}/orders/out-trade-no/{out_trade_no}']->getAsync([
  'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
  'out_trade_no' => '1217752501201407033233368018',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->lovefeast->users->_openid_->orders->outTradeNo->_out_trade_no_->get([
  'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
  'out_trade_no' => '1217752501201407033233368018',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/lovefeast/users/{openid}/orders/out-trade-no/{out_trade_no}')->get([
  'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
  'out_trade_no' => '1217752501201407033233368018',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/lovefeast/users/{openid}/orders/out-trade-no/{out_trade_no}']->get([
  'openid' => 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o',
  'out_trade_no' => '1217752501201407033233368018',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
welfare_trade_idstring
appidstring
sub_appidstring
brand_idstring
donate_sourcestringMINIPROGRAM_PAY | ENTRUST_PAY 枚举值之一
merchant_orderstring
institution_namestring
business_idstring
business_namestring
success_timestring
payerobject
openidstring
sub_openidstring
avatarstring
nicknamestring
amountobject
device_idstring

参阅 情

Published on the GitHub by TheNorthMemory